package com.itheima.extends3modifier;

import com.itheima.exetends2modifier.Fu;

public class Demo {
    public static void main(String[] args) {
        Fu fu=new Fu();
        //fu.privateMethod();     报错
        //fu.method();            报错
        //fu.protectedMethod();   报错
        fu.publicMethod();
    }
}
